#include <stdio.h>

int main()
{
    double h;
    scanf("%lf", &h);
    printf("%.4lf %.4lf\n", h * 0.393700787, h * 0.032808399);
    return 0;
}
